package com.ssm.hj.service;

import com.github.pagehelper.PageInfo;
import com.ssm.hj.page.Page;
import com.ssm.hj.search.UserSearch;
import com.ssm.pojo.User;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
//    阿杰 登入查询
    User loginQuery(String name, String password, HttpServletRequest request) throws Exception;
//    阿杰 查询所有用户
    PageInfo<User> searchQueryUserAllService(Page<UserSearch> page) throws Exception;
    //    阿杰 修改用户状态
    int updateStateService(int id,int state) throws Exception;
}
